package com.woniu.sale.mapper;

import com.woniu.sale.entity.PurRequestorder;
import com.woniu.sale.entity.PurRequestorderExample;
import java.util.List;

import com.woniu.sale.entity.PurRequestorderdetail;
import org.apache.ibatis.annotations.Param;

public interface PurRequestorderDao {
    long countByExample(PurRequestorderExample example);

    int deleteByExample(PurRequestorderExample example);

    int deleteByPrimaryKey(String orderno);

    int insert(PurRequestorder record);

    int insertSelective(PurRequestorder record);

    List<PurRequestorder> selectByExample(PurRequestorderExample example);

    PurRequestorder selectByPrimaryKey(String orderno);

    int updateByExampleSelective(@Param("record") PurRequestorder record, @Param("example") PurRequestorderExample example);

    int updateByExample(@Param("record") PurRequestorder record, @Param("example") PurRequestorderExample example);

    int updateByPrimaryKeySelective(PurRequestorder record);

    int updateByPrimaryKey(PurRequestorder record);

    List<PurRequestorder> selPurReqByShopOrSupp(@Param("supply") Integer supply, @Param("shop") String shop);
}